﻿using UnityEngine;
using System.Collections;

public class LuaInit : MonoBehaviour {

	// Use this for initialization
	void Awake () {
		if (LuaClient.Instance == null) {
			GameObject luaObject = new GameObject ("_LuaClient");
			luaObject.AddComponent<LuaClient> ();
			luaObject.AddComponent<DontDestroy> ();
		}
	}

	void Start() {
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
